package cn.hh.org.mapper;

import cn.hh.basic.mapper.BaseMapper;
import cn.hh.org.domain.Shop;
import cn.hh.org.vo.ShopEchartVo;

import java.util.List;

/**
 * Mapper接口：店铺
 */
public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 店铺入驻：检验当前入驻信息是否入驻过
     * @param shop
     * @return
     */
    Shop loadByMessage(Shop shop);

    // 查询店铺报表数据
    List<ShopEchartVo> getShopState();
}
